package gamecenter.gc.mapper;

import gamecenter.gc.bean.Game;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Game_Mapper {
    public List<Game> get_all_On_Game();
    public List<Game>  get_all_On_Game_From_Developer(@Param("developer_name") String developer_name);
    public List<Game>  get_all_Game_From_Developer(@Param("developer_name") String developer_name);
    public Game get_Cer_Game_From_Name(@Param("game_name") String game_name);
    public void add_Game(@Param("game") Game game);
    public void on_Cer_Game(@Param("game_name")String game_name);
    public List<Game> get_All_Game_from_Cer_Category(String category);
}
